loans-api
Get Existing Collaterals
Description: This endpoint is used to get existing collaterals based on id and collateralType. The Id and collateralType being passed in path parameter..
Mulesoft Request:
Headers:
Mandatory Headers: x-channel-id,x-correlation-id, x-bank-id,client_id, Authorization
Optional Headers: x-sub-channel-id,x-user-id, client_secret,x-debug-flag,x-debug-flag, x-customer-id
Paramaters:
URI Params: {id}, {collateralType}
Query Params: NA
Content-type: application/json
Mulesoft Response:
Success Response: (200)
{
"status": {
"success": "true",
"code": "200",
"arabicMessage": "تمت العملية بنجاØ",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"collaterals": [
{
"collateralRight": "1000067570.5",
"collateralId": "1000067570.5.4",
"guar": "11",
"nationalId": "1234567",
"evalAmount": "5000",
"nomivalValue": "100000.000",
"collateralType": "11",
"currency": "IQD"
}
]
}
}